package com.lenovo.testreport.user.model;

import java.io.Serializable;

/**
 * @author CJF
 * @date 2018/10
 */
public class MessageCenter implements Serializable {
    private Long mid;

    private String username;

    private String mtime;

    private String behavior;

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getMtime() {
        return mtime;
    }

    public void setMtime(String mtime) {
        this.mtime = mtime;
    }

    public String getBehavior() {
        return behavior;
    }

    public void setBehavior(String behavior) {
        this.behavior = behavior == null ? null : behavior.trim();
    }

    public MessageCenter() {
    }

    public MessageCenter(String username, String behavior, String type) {
        this.username = username;
        this.behavior = behavior;
        this.type = type;
    }

    @Override
    public String toString() {
        return "MessageCenter{" +
                "mid=" + mid +
                ", username='" + username + '\'' +
                ", mtime='" + mtime + '\'' +
                ", behavior='" + behavior + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}